package com.legsem.jhosync.voltdb.server;

import org.voltdb.ProcInfo;
import org.voltdb.SQLStmt;
import org.voltdb.VoltProcedure;
import org.voltdb.VoltTable;

@ProcInfo(singlePartition = false)
public class CleanUser extends VoltProcedure {

    public final SQLStmt sql = new SQLStmt("DELETE FROM USERS;");

    public VoltTable[] run() throws VoltAbortException {

        voltQueueSQL(sql);
        return voltExecuteSQL();
    }
}
